#ifndef DATTYPE_LIST_H
#define DATTYPE_LIST_H

#include <QtWidgets>

class DatType_List : public QFrame
{
    Q_OBJECT
public:
    explicit DatType_List(QWidget *parent = nullptr);

signals:

public slots:

protected:
    void mousePressEvent(QMouseEvent *event) override;
    void dragEnterEvent(QDragEnterEvent *event) override;
    void dragMoveEvent(QDragMoveEvent *event) override;
    void dropEvent(QDropEvent *event) override;
    void dragLeaveEvent(QDragLeaveEvent *event) override;
private:
    QHBoxLayout *HLayout;
    QLabel       MyLab;
    bool         IsEnterDrag;
    int          InsertOffset;
};

#endif // DATTYPE_LIST_H
